package org.jeecg.modules.zcgl.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.system.base.entity.DelFlagBaseEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 合同分段租金信息表
 * @Author: jeecg-boot
 * @Date:   2020-11-04
 * @Version: V1.0
 */
@ApiModel(value="zcgl_lease_contract_info对象", description="合同信息")
@Data
@TableName("zcgl_lease_contract_standard_rent")
public class LeaseContractStandardRent extends DelFlagBaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**合同信息*/
	@ApiModelProperty(value = "合同信息")
	private String leaseContractId;
	/**开始日期*/
	@Excel(name = "开始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "开始日期")
	private Date startTime;
	/**结束日期*/
	@Excel(name = "结束日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "结束日期")
	private Date rentEndTime;
	/**款项说明*/
//	@Excel(name = "款项说明", width = 15, dictTable = "payment_instructions", dicText = "", dicCode = "")
//	@ApiModelProperty(value = "款项说明")
	private Integer paymentInstructions;
	/**单价*/
	@Excel(name = "月单价", width = 15)
	@ApiModelProperty(value = "月单价")
	private java.math.BigDecimal monthlyPrice;
}
